package cn.chenli.job.constant;

/**
 * 常用静态常量
 *
 * @author chenli
 * @create 2017-08-16
 */
public class Constant {
    public static final String QUARTZ_JOB_ID_KEY = "quartzJobIdKey";

    /**
     * 默认的格式
     */
    public static final String DEFAULT_CLASS = "package test.myTest;\n" +
            "\n" +
            "import cn.chenli.job.tool.engine.java.Executor;\n" +
            "import org.slf4j.Logger;\n" +
            "import org.slf4j.LoggerFactory;\n" +
            "\n" +
            "public class Test implements Executor{\n" +
            "\n" +
            "    private static final Logger log = LoggerFactory.getLogger(Test.class);\n" +
            "    public Object execute() throws Exception {\n" +
            "        return 1;\n" +
            "    }\n" +
            "}";
}